|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/thread-self/root/usr/share/bash-completion/completions/ |
Upload File : |
# bash completion for nethogs(8) -*- shell-script -*-
_nethogs()
{
local cur prev words cword
_init_completion || return
case "$prev" in
-d)
# expect integer value
COMPREPLY+=($(compgen -W '{0..9}'))
compopt -o nospace
return
;;
esac
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_usage "$1" -h)' -- "$cur"))
return
fi
_available_interfaces -a
} &&
complete -F _nethogs nethogs
# ex: filetype=sh